package com.g2room.myuall.grap.univ.po;

import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public class Article extends BasePo {
	private static final long serialVersionUID = -555468092751104678L;

	/* 文章内容 */
	private String content;
	/* 创建时间 */
	private Date createTime;
	/* 置顶推荐：1、是；2、否 */
	private String hot;
	/* ID */
	private Long id;
	/* 发布时间 */
	private String publishTime;
	/* 文章来源 */
	private String source;
	/* 文章来源 */
	private String summary;
	/* 来源url */
	private String sourceUrl;
	/* 文章状态：1、正常；2、隐藏；3、删除 */
	private int state;
	/* 文章标题 */
	private String title;
	/* 二级分类 */
	private Long typeId;
	/* 二级分类名称 */
	private String typeName;
	/* 二级分类名称 */
	private String typeCode;
	/* 一级分类 */
	private long categoryId;
	/* 一级分类名称 */
	private String categoryName;
	/* 一级分类 */
	private long classId;
	/* 一级分类名称 */
	private String className;
	/* 一级分类名称 */
	private String categoryCode;
	/* 更新时间 */
	private Date updateTime;

	private int pageNum;

	private String cover;

	private int coverWidth;
	private int coverHeight;

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public int getCoverWidth() {
		return coverWidth;
	}

	public void setCoverWidth(int coverWidth) {
		this.coverWidth = coverWidth;
	}

	public int getCoverHeight() {
		return coverHeight;
	}

	public void setCoverHeight(int coverHeight) {
		this.coverHeight = coverHeight;
	}

	public long getClassId() {
		return classId;
	}

	public void setClassId(long classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	// public String getSummary() {
	// return summary;
	// }
	// public void setSummary(String summary) {
	// this.summary = summary;
	// }
	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getHot() {
		return hot;
	}

	public void setHot(String hot) {
		this.hot = hot;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSourceUrl() {
		return sourceUrl;
	}

	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}